package com.dshore.messagecenter.controller.system;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import com.dshore.messagecenter.model.system.SysLog;
import com.dshore.messagecenter.util.Page;
/**
 * 审计日志
 * @author Administrator
 *
 */
@Controller
@RequestMapping("/log")
public class SysLogController {
	//@Autowired
	//private SysLogService sysLogService;
	/**
	 * 展示页面
	 * @return
	 */
	@RequestMapping("/toLog")
	public String show() {
		return "system/sysLog";
	}
	/**
	 * 获取表格展示数据
	 * @param sysLog
	 * @return
	 */
	@RequestMapping(value="/getPage",method=RequestMethod.POST)
	@ResponseBody
	public Page<SysLog> getPage(@RequestBody SysLog sysLog){
		try {
			//return sysLogService.getPage(sysLog);
			return null;
		}catch (Exception e) {
			e.printStackTrace();
			return null;
		}
		
	}
}
